package bean;

import java.util.Date;

/**
 * @Author guoxiuwei
 * @Date 2020/8/24 08:54
 * @Title
 */
public class laundry {
    //流水单号id
    private int laundryId;
    //商品id
    private int merchId;

    private String merchname;

    //操作员id
    private int uid;
    //销售时间
    private Date salestime;
    //销售数量
    private int salessum;
    //应收
    private double shouldmoney;
    //实收
    private double realitymoney;



    public laundry() {
    }

    public laundry(int laundryId, int merchId,String merchname, int uid, Date salestime, int salessum, double shouldmoney, double realitymoney) {
        this.laundryId = laundryId;
        this.merchId = merchId;
        this.merchname = merchname;
        this.uid = uid;
        this.salestime = salestime;
        this.salessum = salessum;
        this.shouldmoney = shouldmoney;
        this.realitymoney = realitymoney;
    }

    public int getLaundryId() {
        return laundryId;
    }

    public void setLaundryId(int laundryId) {
        this.laundryId = laundryId;
    }

    public int getMerchId() {
        return merchId;
    }

    public void setMerchId(int merchId) {
        this.merchId = merchId;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public Date getSalestime() {
        return salestime;
    }

    public void setSalestime(Date salestime) {
        this.salestime = salestime;
    }

    public int getSalessum() {
        return salessum;
    }

    public void setSalessum(int salessum) {
        this.salessum = salessum;
    }

    public double getShouldmoney() {
        return shouldmoney;
    }

    public void setShouldmoney(double shouldmoney) {
        this.shouldmoney = shouldmoney;
    }

    public double getRealitymoney() {
        return realitymoney;
    }

    public void setRealitymoney(double realitymoney) {
        this.realitymoney = realitymoney;
    }

    public String getMerchname() {
        return merchname;
    }

    public void setMerchname(String merchname) {
        this.merchname = merchname;
    }

    @Override
    public String toString() {
        return "laundry{" +
                "laundryId=" + laundryId +
                ", merchId=" + merchId +
                ", merchname='" + merchname + '\'' +
                ", uid=" + uid +
                ", salestime=" + salestime +
                ", salessum=" + salessum +
                ", shouldmoney=" + shouldmoney +
                ", realitymoney=" + realitymoney +
                '}';
    }
}
